package org.jackysoft.query;

import org.apache.commons.collections.Predicate;
import org.apache.commons.lang.StringUtils;

public class EmptyQueryFieldPredicate implements Predicate {

	@Override
	public boolean evaluate(Object object) {
		if(object==null) return false;
		QueryField qf = (QueryField) object;
		return !StringUtils.isEmpty(qf.getValue());
	}

}
